package com.lin.reggie.service;

import com.lin.reggie.dto.SetmealDto;
import com.lin.reggie.entity.Page;
import com.lin.reggie.entity.Setmeal;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface SetmealService {

    /**
     * 作用：新增套餐
     * @param setmealDto
     * @return
     * */
    void save(SetmealDto setmealDto);

    Page<SetmealDto>findByPage(Integer page, Integer pageSize, String name);


    boolean deleteByIds(List<Long> ids, Long updateUser);


    //套餐查看
    List<Setmeal>findSetmeal(Long categoryId,Integer status);




}
